package com.suning.sawp.constants;

import java.util.HashMap;
import java.util.Map;

/**
 * 
 * 促销活动错误编码常量类<br> 
 * 〈功能详细描述〉
 *
 * @author Wuxiao
 * @see [相关类/方法]（可选）
 * @since [产品/模块版本] （可选）
 */
public class PromotionErrorConstants {
    
    private PromotionErrorConstants() {
    }

    public static final String ACT_QUERY_ERR_E001 = "E001";
    
    public static final String ACT_QUERY_ERR_E002 = "E002";
    
    public static final String ACT_QUERY_ERR_E999 = "E999";
    
    public static final Map<String, String> ACT_QUERY_ERR_MAP = new HashMap<String, String>();
    
    static {
        ACT_QUERY_ERR_MAP.put(ACT_QUERY_ERR_E001, "入参不合法");
        ACT_QUERY_ERR_MAP.put(ACT_QUERY_ERR_E002, "促销系统返回失败");
        ACT_QUERY_ERR_MAP.put(ACT_QUERY_ERR_E999, "系统异常");
    }
    
    public static final String COUPON_QUERY_ERR_E001 = "E001";
    
    public static final String COUPON_QUERY_ERR_E002 = "E002";
    
    public static final String COUPON_QUERY_ERR_E003 = "E003";
    
    public static final String COUPON_QUERY_ERR_E999 = "E999";
    
    public static final Map<String, String> COUPON_QUERY_ERR_MAP = new HashMap<String, String>();
    
    static {
        COUPON_QUERY_ERR_MAP.put(COUPON_QUERY_ERR_E001, "入参不合法");
        COUPON_QUERY_ERR_MAP.put(COUPON_QUERY_ERR_E002, "");
        COUPON_QUERY_ERR_MAP.put(COUPON_QUERY_ERR_E003, "已验证促销活动不存在");
        COUPON_QUERY_ERR_MAP.put(COUPON_QUERY_ERR_E999, "系统异常");
    }
    
    public static final String COUPON_SEND_ERR_E001 = "E001";
    
    public static final String COUPON_SEND_ERR_E002 = "E002";
    
    public static final String COUPON_SEND_ERR_E003 = "E003";
    
    public static final String COUPON_SEND_ERR_E004 = "E004";
    
    public static final String COUPON_SEND_ERR_E005 = "E005";
    
    public static final String COUPON_SEND_ERR_E006 = "E006";
    
    public static final String COUPON_SEND_ERR_E007 = "E007";
    
    public static final String COUPON_SEND_ERR_E008 = "E008";
    
    public static final String COUPON_SEND_ERR_E009 = "E009";
    
    public static final String COUPON_SEND_ERR_E010 = "E010";
    
    public static final String COUPON_SEND_ERR_E011 = "E011";
    
    public static final String COUPON_SEND_ERR_E012 = "E012";
    
    public static final String COUPON_SEND_ERR_E999 = "E999";
    
    public static final String COUPON_SEND_STORE_INVALID = "3";
    
    public static final Map<String, String> COUPON_SEND_ERR_MAP = new HashMap<String, String>();
    
    static {
        COUPON_SEND_ERR_MAP.put(COUPON_SEND_ERR_E001, "入参不合法");
        COUPON_SEND_ERR_MAP.put(COUPON_SEND_ERR_E002, "会员编码不存在");
        COUPON_SEND_ERR_MAP.put(COUPON_SEND_ERR_E003, "已验证促销活动不存在");
        COUPON_SEND_ERR_MAP.put(COUPON_SEND_ERR_E004, "促销中心确认发券接口调用失败");
        COUPON_SEND_ERR_MAP.put(COUPON_SEND_ERR_E005, "该券已被易购账号%s使用");
        COUPON_SEND_ERR_MAP.put(COUPON_SEND_ERR_E006, "兑换码错误，请重新输入");
        COUPON_SEND_ERR_MAP.put(COUPON_SEND_ERR_E007, "活动已经结束");
        COUPON_SEND_ERR_MAP.put(COUPON_SEND_ERR_E008, "已验证活动不属于此门店");
        COUPON_SEND_ERR_MAP.put(COUPON_SEND_ERR_E009, "获取线下券金额失败");
        COUPON_SEND_ERR_MAP.put(COUPON_SEND_ERR_E010, "获取门店额度失败");
        COUPON_SEND_ERR_MAP.put(COUPON_SEND_ERR_E011, "门店额度不足");
        COUPON_SEND_ERR_MAP.put(COUPON_SEND_ERR_E012, "您店+内的所属门店与活动券所对应的门店不符，请尝试从城市活动中选择此券再试");
        COUPON_SEND_ERR_MAP.put(COUPON_SEND_ERR_E999, "系统繁忙");
    }
    
    public static final String VALID_ACT_ERR_E001 = "E001";
    
    public static final String VALID_ACT_ERR_E002 = "E002";
    
    public static final String VALID_ACT_ERR_E003 = "E003";
    
    public static final String VALID_ACT_ERR_E004 = "E004";
    
    public static final String VALID_ACT_ERR_E999 = "E999";
    
    public static final Map<String, String> VALID_ACT_ERR_MAP = new HashMap<String, String>();
    
    static {
        VALID_ACT_ERR_MAP.put(VALID_ACT_ERR_E001, "入参不合法");
        VALID_ACT_ERR_MAP.put(VALID_ACT_ERR_E002, "验证码错误，请重新输入");
        VALID_ACT_ERR_MAP.put(VALID_ACT_ERR_E003, "达到当天失败次数限制");
        VALID_ACT_ERR_MAP.put(VALID_ACT_ERR_E004, "门店不存在");
        VALID_ACT_ERR_MAP.put(VALID_ACT_ERR_E999, "系统繁忙");
    }
    
    public static final String INNER_COUPON_ERR_E001 = "E001";
    
    public static final String INNER_COUPON_ERR_E002 = "E002";
    
    public static final String INNER_COUPON_ERR_E003 = "E003";
    
    public static final String INNER_COUPON_ERR_E004 = "E004";
    
    public static final String INNER_COUPON_ERR_E005 = "E005";
    
    public static final String INNER_COUPON_ERR_E006 = "E006";
    
    public static final String INNER_COUPON_ERR_E007 = "E007";
    
    public static final String INNER_COUPON_ERR_E008 = "E008";
    
    public static final String INNER_COUPON_ERR_E009 = "E009";
    
    public static final String INNER_COUPON_ERR_E010 = "E010";
    
    public static final String INNER_COUPON_ERR_E011 = "E011";
    
    public static final String INNER_COUPON_ERR_E999 = "E999";
    
    public static final Map<String, String> INNER_COUPON_ERR_MAP = new HashMap<String, String>();
    
    static {
        INNER_COUPON_ERR_MAP.put(INNER_COUPON_ERR_E001, "入参不合法");
        INNER_COUPON_ERR_MAP.put(INNER_COUPON_ERR_E002, "账号异常，请联系店+运营人员");
        INNER_COUPON_ERR_MAP.put(INNER_COUPON_ERR_E003, "获取会员信息失败");
        INNER_COUPON_ERR_MAP.put(INNER_COUPON_ERR_E004, "获取注册邀请信息失败");
        INNER_COUPON_ERR_MAP.put(INNER_COUPON_ERR_E005, "获取会员信息失败");
        INNER_COUPON_ERR_MAP.put(INNER_COUPON_ERR_E006, "当月发券次数已用完");
        INNER_COUPON_ERR_MAP.put(INNER_COUPON_ERR_E007, "发券失败");
        INNER_COUPON_ERR_MAP.put(INNER_COUPON_ERR_E008, "获取券详情失败");
        INNER_COUPON_ERR_MAP.put(INNER_COUPON_ERR_E009, "日期格式不合法");
        INNER_COUPON_ERR_MAP.put(INNER_COUPON_ERR_E010, "该工号在黑名单中已存在");
        INNER_COUPON_ERR_MAP.put(INNER_COUPON_ERR_E011, "查不到此工号对应人员");
        INNER_COUPON_ERR_MAP.put(INNER_COUPON_ERR_E999, "系统繁忙，请稍后重试");
    }
}
